This section describes the troubleshooting tips that might be useful when working with a customer using extensive Groovy-based customizations.
How to disable Groovy-based code in N4?
Often it is not easy to determine whether an issue is related to the product code or to the extension code. It may be useful to isolate the issue by turning off the Groovy-based customization.
You can display the Legacy Groovy support in N4 using the ARGOGROOVY001 (DISABLE_GROOVY_EXECUTION) setting. Set this to true to disable the Groovy-based customization in use in the N4 application.
The default value for ARGOGROOVY001 is false.
Turn off code extensions (Available only in N4 v. 2.0 or above)
You can turn off all the code extension triggers in N4 using the EXTSVCEXT001 (EXT_DISABLE_ALL_TRIGGERS) setting. Set this to true to turn off all the code extension triggers at the current scope level.
The default value for EXTSVCEXT001 is false.
You can then turn on specific code extensions and extension triggers to debug the problem.